/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.supinfo.youfood.dao;

import com.supinfo.youfood.entity.Menu;
import com.supinfo.youfood.entity.Produit;
import java.util.List;
import javax.ejb.Local;
import javax.ejb.Remote;

/**
 *
 * @author Michael
 */
@Local
public interface MenuDao {
    
    public Menu ajouterMenu(Menu m);
    
    public void supprimerMenu (Menu m);
    
    public List<Menu> getAllMenus();
    
    public List<Menu> getAllActifMenus();

    public Menu findMenuById(Long id);
    
    public Menu refreshMenu(Menu menu);
}
